<html>
  <head><title>SP Objects</title>
    <script src="codepress/codepress.js" type="text/javascript"></script> 
    <link rel="stylesheet" href="style.css" type="text/css" media="all" />
  </head>
  <body>

    <h1>Procedure Object: WEB_QUOTE_TXT.SQL</h1>
    <p><b>Author:</b> Pushpa Baskaran</p>
    <p><b>Date:</b> April 04, 2007</p>
    <p><b>Abstract:</b></p>
    <p></b></p>
    <p><b>Sample Calls:</b></p>
    <p></b></p>
    <p></p>
    
    
    <h3>Tables:</h3>
    <ul>
      
        <li><b><a href="WEB_QUOTE.html">EBIZ1.WEB_QUOTE</a></b></li>
      
    </ul>
    
    
    
    
    
    
    
    
    <h3>Source code:</h3>
    <div id="SQLsrc" >
<em>DROP</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT<br />@<br /><br /><i>----------------------------------------------------------------------------------</i><br /><i>--</i><br /><i>--&nbsp;&nbsp;<b>Table</b>&nbsp;Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EBIZ1.WEB_QUOTE_TXT</i><br /><i>--&nbsp;&nbsp;File&nbsp;Name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;EBIZ1.WEB_QUOTE_TXT.<b>SQL</b></i><br /><i>--&nbsp;&nbsp;Author:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Pushpa&nbsp;Baskaran</i><br /><i>--&nbsp;&nbsp;<u>Date</u>:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;April&nbsp;04,&nbsp;2007</i><br /><i>--</i><br /><i>--&nbsp;&nbsp;Abstract:&nbsp;Creates&nbsp;a&nbsp;<b>table</b>&nbsp;<b>to</b>&nbsp;hold&nbsp;potentially&nbsp;very&nbsp;large&nbsp;<b>user</b>&nbsp;comments</i><br /><i>--</i><br /><i>--*****&nbsp;&nbsp;IBM&nbsp;Confidential&nbsp;&nbsp;******</i><br /><i>--</i><br /><i>--&nbsp;&nbsp;MAINTENANCE&nbsp;LOG</i><br /><i>--&nbsp;&nbsp;who&nbsp;&nbsp;<u>date</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b><em>comment</em></b></i><br /><i>--&nbsp;&nbsp;---&nbsp;&nbsp;--------&nbsp;&nbsp;---------------------------------------------------------------</i><br /><i>--&nbsp;&nbsp;GW&nbsp;&nbsp;&nbsp;04/02/07&nbsp;&nbsp;Initial&nbsp;Version</i><br /><i>--&nbsp;&nbsp;GW&nbsp;&nbsp;&nbsp;04/05/07&nbsp;&nbsp;Corrected&nbsp;pk</i><br /><i>--&nbsp;&nbsp;Peter&nbsp;04/10/07&nbsp;Updated&nbsp;according&nbsp;<b>to</b>&nbsp;new&nbsp;Data&nbsp;Specification</i><br /><i>--&nbsp;&nbsp;Peter&nbsp;04/20/07&nbsp;rename&nbsp;sp&nbsp;<b>from</b>&nbsp;WEB_QUOTE_TEXT&nbsp;<b>to</b>&nbsp;WEB_QUOTE_TXT</i><br /><i>--&nbsp;&nbsp;Peter&nbsp;05/08/07&nbsp;<b>Add</b>&nbsp;new&nbsp;<b>column</b></i><br /><i>--&nbsp;&nbsp;Will&nbsp;&nbsp;05/08/07&nbsp;<em>Update</em>&nbsp;quote_txt_id&nbsp;&nbsp;GENERATED&nbsp;ALWAYS</i><br /><i>--&nbsp;&nbsp;Peter&nbsp;05/15/07&nbsp;<em>Update</em>&nbsp;quote_txt_id&nbsp;<b>not</b>&nbsp;GENERATED</i><br /><i>-----------------------------------------------------------------------------------</i><br /><br /><em>CREATE</em>&nbsp;<b>table</b>&nbsp;EBIZ1.WEB_QUOTE_TXT(<br />&nbsp;&nbsp;web_quote_num&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>char</u>(10)&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;quote_txt_id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>INTEGER</u>&nbsp;<b>NOT</b>&nbsp;<b>NULL</b>,<br />&nbsp;&nbsp;quote_txt_type_code&nbsp;&nbsp;&nbsp;<u>varchar</u>(8)&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;quote_txt&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLOB(98304)&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;user_email_adr&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>varchar</u>(80)&nbsp;&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;add_date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>timestamp</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;add_by_user_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>varchar</u>(50)&nbsp;&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;mod_date&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>timestamp</u>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b>,<br />&nbsp;&nbsp;mod_by_user_name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<u>varchar</u>(50)&nbsp;&nbsp;&nbsp;<b>not</b>&nbsp;<b>null</b><br />&nbsp;&nbsp;)<br /><b>IN</b>&nbsp;EBIZ1_DATA_01&nbsp;<br /><b>INDEX</b>&nbsp;<b>IN</b>&nbsp;EBIZ1_INDX_01<br />LONG&nbsp;<b>IN</b>&nbsp;EBIZ1_LRGE_01<br />@<br /><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT&nbsp;DATA&nbsp;CAPTURE&nbsp;NONE<br />@<br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT&nbsp;<b>NOT</b>&nbsp;<b>VOLATILE</b><br />@<br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT&nbsp;APPEND&nbsp;OFF<br />@<br /><br /><i>--<b>Primary</b>&nbsp;<b>Key</b></i><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT&nbsp;<em>DROP</em>&nbsp;<b>PRIMARY</b>&nbsp;<b>KEY</b><br />@<br /><br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT&nbsp;<br /><b>ADD</b>&nbsp;<b>CONSTRAINT</b>&nbsp;web_qt_txt_pk<br /><b>PRIMARY</b>&nbsp;<b>KEY</b>&nbsp;(web_quote_num,&nbsp;quote_txt_id,&nbsp;QUOTE_TXT_TYPE_CODE)<br />@<br /><em>ALTER</em>&nbsp;<b>TABLE</b>&nbsp;EBIZ1.WEB_QUOTE_TXT<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>ADD</b>&nbsp;<b>CONSTRAINT</b>&nbsp;web_qt_txt_FK<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>FOREIGN</b>&nbsp;<b>KEY</b>&nbsp;(WEB_QUOTE_NUM)<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>REFERENCES</b>&nbsp;EBIZ1.WEB_QUOTE&nbsp;(WEB_QUOTE_NUM)<br />&nbsp;&nbsp;&nbsp;&nbsp;<b>ON</b>&nbsp;<em>DELETE</em>&nbsp;<b>CASCADE</b>&nbsp;<b>ON</b>&nbsp;<em>UPDATE</em>&nbsp;<b>NO</b>&nbsp;ACTION<br />@<br /><em>GRANT</em>&nbsp;<em>SELECT</em>&nbsp;<b>ON</b>&nbsp;EBIZ1.WEB_QUOTE_TXT&nbsp;<b>TO</b>&nbsp;<b>GROUP</b>&nbsp;WEB_GRP<br />@
    </div> 
  </body>
</html>
